package ipt.dao.f4;

import java.io.File;

public class ConnectionFactoryTXT {

	
	private static final String FILE_PATH = "data";
	private static final String FILE_NAME = "/Alumnos.txt";
	private static ConnectionFactoryTXT connectionFactoryTXT = null;

	private ConnectionFactoryTXT() {
		super();
	}

	public File getConnection(){
		File flE = new File(FILE_PATH + FILE_NAME);
		return flE;
	}

	public static ConnectionFactoryTXT getInstance() {
		if (connectionFactoryTXT == null) {
			connectionFactoryTXT = new ConnectionFactoryTXT();
		}
		return connectionFactoryTXT;
	}
}